package com.medic.mapper.interf;

import java.util.List;

import com.medic.entity.Assitant;
import com.medic.entity.Doctor;
import com.medic.entity.Pharmacist;
import com.medic.entity.User;
import com.medic.entity.Weichat;


public interface WeichatMapper extends MapperInterface<Weichat> {
	
	
	
	public List<Weichat> selectRoleByOpenid(String openid)  throws Exception;
	
	public User selectUserByWeichatid(int userid) throws Exception;

	public Pharmacist selectPharmaicstByWeichatid(int weichatid)throws Exception;

	public Doctor selectDoctorByWeichatid(int weichatid)throws Exception;

	public Assitant selectAssitantByWeichatid(int weichatid) throws Exception;


}
